<?php include_once 'includes/header.php'; ?><div id="wrap"><div id="main"><div class="top"></div>

<div id="mainarea">
    








<script language="javascript" src="image/editor/editor_function.js"></script>
<script language="javascript" src="source/script_blog.js"></script>
	
    
	
		<h2 class="title">日志<a href="space.jhtml?uid=42584&amp;do=blog&amp;view=me"><span>返回我的日志</span></a></h2>
                
	
	
<div class="c_form">

	<style type="text/css">
		.userData {behavior:url(#default#userdata);}
	</style>


	<form method="post" action="cp.jhtml?ac=blog&amp;blogid=">
		<table cellspacing="4" cellpadding="4" width="100%" class="infotable">
			<tbody><tr>
				<td>
					<select name="classid" id="classid" onchange="addSort(this)">
						<option value="0">选择分类</option>
						
						<option value="addoption" style="color:red;">+新建分类</option>
					</select>
					<input type="text" class="t_input" id="subject" name="subject" value="" size="60" onblur="relatekw();">
				</td>
			</tr>
			<tr>
				<td>
				<a id="doodleBox" href="magic.jhtml?mid=doodle&amp;showid=blog_doodle&amp;target=jchome-ttHtmlEditor&amp;from=editor" style="display:none"></a>
				<textarea class="userData" name="message" id="jchome-ttHtmlEditor" style="height:100%;width:100%;display:none;border:0px"></textarea>
				<iframe src="editor.jhtml?allowhtml=1&amp;doodle=1" name="jchome-ifrHtmlEditor" id="jchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:100%;border: 1px solid #C5C5C5;" height="400"></iframe>
				</td>
			</tr>
		</tbody></table>
		<table cellspacing="4" cellpadding="4" width="100%" class="infotable">
			<tbody><tr>
				<th width="100">标签</th>
				<td><input type="text" class="t_input" size="40" id="tag" name="tag" value=""> <input type="button" name="clickbutton[]" value="自动获取" class="button" onclick="relatekw();"></td>
			</tr>
			
			
			<tr>
				<th>隐私设置</th>
				<td>
					<select name="friend" onchange="passwordShow(this.value);">
						<option value="0">全站用户可见</option>
						<option value="1">全好友可见</option>
						<option value="2">仅指定的好友可见</option>
						<option value="3">仅自己可见</option>
						<option value="4">凭密码查看</option>
					</select>
					<span id="span_password" style="display:none">密码:<input type="text" name="password" value="" size="10" onkeyup="value=value.replace(/[^\w\.\/]/ig,'')"></span>
					<input type="checkbox" name="noreply" value="1"> 不允许评论
				</td>
			</tr>
			
			</tbody><tbody id="tb_selectgroup" style="display:none">
			<tr>
				<th>指定好友</th>
				<td><select name="selectgroup" onchange="getgroup(this.value);">
					<option value="">从好友组选择好友</option>
					
					<option value="0">其他</option>
					
					<option value="1">通过本站认识</option>
					
					<option value="2">通过活动认识</option>
					
					<option value="3">通过朋友认识</option>
					
					<option value="4">亲人</option>
					
					<option value="5">同事</option>
					
					<option value="6">同学</option>
					
					<option value="7">不认识</option>
					
					<option value="369">天天</option>
					
					</select> 多次选择会累加到下面的好友名单
				</td>
			</tr>
			<tr>
				<th>&nbsp;</th>
				<td>
					<textarea name="target_names" id="target_names" style="width:85%;" rows="3"></textarea>
					<br>(可以填写多个好友名，请用空格进行分割)
				</td>
			</tr>
			</tbody>
			
			
			
			
			

			<tbody><tr>
				<th width="100">动态选项</th>
				<td>
					<input type="checkbox" name="makefeed" id="makefeed" value="1" checked=""> 产生动态 (<a href="cp.jhtml?ac=privacy#feed" target="_blank">更改默认设置</a>)
				</td>
			</tr>			
		</tbody></table>
		<input type="hidden" name="blogsubmit" value="true">
		<input type="button" id="blogbutton" name="blogbutton" value="提交发布" onclick="validate(this);" style="display: none;">
		<input type="hidden" name="topicid" value="">
		<input type="hidden" name="formhash" value="5e5eb8de">
	</form>

	
	<table cellspacing="4" cellpadding="4" width="100%" class="infotable">
		<tbody><tr><th width="100">图片</th><td>
		<input type="button" name="clickbutton[]" value="上传图片" class="white_btn" onclick="edit_album_show('pic')">
		<input type="button" name="clickbutton[]" value="插入图片" class="white_btn" onclick="edit_album_show('album')">
		</td></tr>
	</tbody></table>
	

	<table cellspacing="4" cellpadding="4" width="100%" id="jchome-edit-pic" class="infotable" style="display:none;">
		<tbody><tr>
			<th width="100">&nbsp;</th>
			<td>
				<strong>选择图片</strong>: 
				<table summary="Upload" cellspacing="2" cellpadding="0">
					<tbody id="attachbodyhidden" style="display:none">
						<tr>
							<td>
								<form method="post" id="upload" action="cp.jhtml?ac=upload" enctype="multipart/form-data" target="uploadframe" style="background: transparent;">
									<input type="file" name="attach" style="border: 1px solid #CCC;">
									<span id="localfile"></span>
									<input type="hidden" name="uploadsubmit" id="uploadsubmit" value="true">
									<input type="hidden" name="albumid" id="albumid" value="0">
									<input type="hidden" name="formhash" value="5e5eb8de">
								</form>
							</td>
						</tr>
					</tbody>
					<tbody id="attachbody"><tr>
							<td>
								<form method="post" id="upload_0" action="cp.jhtml?ac=upload" enctype="multipart/form-data" target="uploadframe" style="background: transparent;">
									<input type="file" name="attach" style="border: 1px solid #CCC;" id="attach_0">
									<span id="localfile_0"></span>
									<input type="hidden" name="uploadsubmit" id="uploadsubmit" value="true">
									<input type="hidden" name="albumid" id="albumid_0" value="0">
									<input type="hidden" name="formhash" value="5e5eb8de">
								</form>
							</td>
						</tr></tbody>
				</table>
				<strong>存储相册</strong>: 
				<table cellspacing="2" cellpadding="0">
					<tbody><tr>
						<td>
							<select name="albumid" id="uploadalbum" onchange="addSort(this)">
								<!--
								<option value="-1">请选择相册</option>

								
								<!-- <option value="-1">默认相册</option> -->
								<!--  
								<option value="-1">默认相册</option>
								-->
								
								<option value="2416">我的相册2</option>
								
								<option value="2145">我的相册</option>
								
								<option value="addoption" style="color:red;">+新建相册</option>
							</select>
							<script src="source/script_upload.js" type="text/javascript"></script>
							<script src="source/jquery-1.4.4.min.js" type="text/javascript"></script>
							<iframe id="uploadframe" name="uploadframe" width="0" height="0" marginwidth="0" frameborder="0" src="about:blank"></iframe>
						</td>
					</tr>
				</tbody></table>
			</td>
		</tr>
	</tbody></table>
	<table cellspacing="4" cellpadding="4" width="100%" class="infotable" id="jchome-edit-album" style="display:none;">
		<tbody><tr>
			<th width="100">&nbsp;</th>
			<td>
				选择相册: <select name="view_albumid" onchange="picView(this.value)">
					<option value="none">选择一个相册</option>

					<!-- <option value="0">默认相册</option> -->

					<!--  
					<option value="0">默认相册</option>
						-->
					 
					<option value="2416">我的相册2</option>
					 
					<option value="2145">我的相册</option>
					
				</select> (点击图片可以插入到内容中)
				<div id="albumpic_body"></div>
			</td>
		</tr>
	</tbody></table>
	<table cellspacing="4" cellpadding="4" width="100%" class="infotable">
		<tbody><tr>
			<th width="100">&nbsp;</th>
			<td>
			<input type="button" id="issuance" onclick="document.getElementById('blogbutton').click();" value="保存发布" class="submit"></td>
		</tr>
	</tbody></table>
</div>








 
  
     </div>


<div class="bot"></div>
</div>

<?php include_once 'includes/sidebar_homepage_personal.php'; ?>
</div>

<?php include_once 'includes/footer.php'; ?>